package com.jcfk.eam.dao.board;

import com.jcfk.eam.domain.dto.board.MouldMaintenanceTaskBoardDTO;
import com.jcfk.eam.domain.dto.board.MouldProductionTaskBoardDTO;
import com.jcfk.eam.domain.dto.board.MouldStatusBoardDetailDTO;
import com.jcfk.eam.domain.query.board.MouldMaintenanceTaskQuery;
import com.jcfk.eam.domain.query.board.MouldProductionTaskQuery;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

@Repository
public interface MoldTaskBoardDao {
    List<MouldProductionTaskBoardDTO> productionTaskList(@Param("startDate") Date startDate, @Param("endDate") Date endDate, @Param("query") MouldProductionTaskQuery query);

    List<MouldMaintenanceTaskBoardDTO> maintenanceTaskList(@Param("startDate") Date startDate, @Param("endDate") Date endDate, @Param("query") MouldMaintenanceTaskQuery query);

    List<MouldStatusBoardDetailDTO> mouldStatusList(@Param("projectCode") String projectCode, @Param("list") List<Integer> list);
}
